﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<script src="../../Scripts/tiny_mce/jquery.tinymce.js" type="text/javascript"></script>
    <script type="text/javascript">
        $().ready(function() {
        $('textarea').tinymce({
            script_url: '../../Scripts/tiny_mce/tiny_mce.js',
            theme: "advanced",
            plugins: "pagebreak,style,table,advhr,advimage,advlink,iespell,inlinepopups,insertdatetime,preview,contextmenu,paste,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,advlist",

            // Theme options
            theme_advanced_buttons1: "bold,italic,underline,|,justifyleft,justifycenter,justifyright,justifyfull,fontsizeselect,|,link,unlink",
            theme_advanced_buttons2: "bullist,numlist,|,outdent,indent,blockquote,|link,unlink,anchor,image,cleanup,code,|preview,|,forecolor,backcolor",
            theme_advanced_buttons3: "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,|,fullscreen",
            theme_advanced_buttons4: "styleprops,|,cite,|,nonbreaking,pagebreak",
            theme_advanced_toolbar_location: "top",
            theme_advanced_toolbar_align: "left",
            theme_advanced_statusbar_location: "bottom",
            theme_advanced_resizing: true
            });
        });
    </script>

